import React from 'react';
import ReactDOM from 'react-dom';
import Router from './views/router/index';
import registerServiceWorker from './registerServiceWorker';
import './sass/global.scss'

import {Provider} from 'react-redux';
import {createStore} from 'redux';
import reducer from './store/reducers'

export const store = createStore(reducer);

ReactDOM.render(
  <Provider store={store}>
    <Router/>
  </Provider>
  , document.getElementById('root'));
registerServiceWorker();
